import 'normalize.css/normalize.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import i18n from './i18n'
import CmTable from "@/components/CmTable.vue"

//引入mock执行
import './mock'

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
  app.component(CmTable.name,CmTable)
  app.use(router)
  app.use(store)
  app.use(i18n)
  app.mount('#app')